package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 条码字段行对象 BARCODE_FIELD_LINE
 * 
 * @author ruoyi
 * @date 2025-03-26
 */
public class BarcodeFieldLine extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 头表ID */
    @Excel(name = "头表ID")
    private Long headerId;

    /** 单据名称 */
    @Excel(name = "单据名称")
    private String documentName;

    /** 单据标识 */
    @Excel(name = "单据标识")
    private String documentIdentifier;

    /** 所属实体名称 */
    @Excel(name = "所属实体名称")
    private String entityName;

    /** 所属实体标识 */
    @Excel(name = "所属实体标识")
    private String entityIdentifier;

    /** 字段名称 */
    @Excel(name = "字段名称")
    private String fieldName;

    /** 字段标识 */
    @Excel(name = "字段标识")
    private String fieldIdentifier;

    /** 固定值 */
    @Excel(name = "固定值")
    private String fixedValue;

    /** 值转换规则 */
    @Excel(name = "值转换规则")
    private String valueConversionRule;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createdBy;

    /** 创建日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdDate;

    /** 修改人 */
    @Excel(name = "修改人")
    private String modifiedBy;

    /** 修改日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "修改日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date modifiedDate;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setHeaderId(Long headerId) 
    {
        this.headerId = headerId;
    }

    public Long getHeaderId() 
    {
        return headerId;
    }

    public void setDocumentName(String documentName) 
    {
        this.documentName = documentName;
    }

    public String getDocumentName() 
    {
        return documentName;
    }

    public void setDocumentIdentifier(String documentIdentifier) 
    {
        this.documentIdentifier = documentIdentifier;
    }

    public String getDocumentIdentifier() 
    {
        return documentIdentifier;
    }

    public void setEntityName(String entityName) 
    {
        this.entityName = entityName;
    }

    public String getEntityName() 
    {
        return entityName;
    }

    public void setEntityIdentifier(String entityIdentifier) 
    {
        this.entityIdentifier = entityIdentifier;
    }

    public String getEntityIdentifier() 
    {
        return entityIdentifier;
    }

    public void setFieldName(String fieldName) 
    {
        this.fieldName = fieldName;
    }

    public String getFieldName() 
    {
        return fieldName;
    }

    public void setFieldIdentifier(String fieldIdentifier) 
    {
        this.fieldIdentifier = fieldIdentifier;
    }

    public String getFieldIdentifier() 
    {
        return fieldIdentifier;
    }

    public void setFixedValue(String fixedValue) 
    {
        this.fixedValue = fixedValue;
    }

    public String getFixedValue() 
    {
        return fixedValue;
    }

    public void setValueConversionRule(String valueConversionRule) 
    {
        this.valueConversionRule = valueConversionRule;
    }

    public String getValueConversionRule() 
    {
        return valueConversionRule;
    }

    public void setCreatedBy(String createdBy) 
    {
        this.createdBy = createdBy;
    }

    public String getCreatedBy() 
    {
        return createdBy;
    }

    public void setCreatedDate(Date createdDate) 
    {
        this.createdDate = createdDate;
    }

    public Date getCreatedDate() 
    {
        return createdDate;
    }

    public void setModifiedBy(String modifiedBy) 
    {
        this.modifiedBy = modifiedBy;
    }

    public String getModifiedBy() 
    {
        return modifiedBy;
    }

    public void setModifiedDate(Date modifiedDate) 
    {
        this.modifiedDate = modifiedDate;
    }

    public Date getModifiedDate() 
    {
        return modifiedDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("headerId", getHeaderId())
            .append("documentName", getDocumentName())
            .append("documentIdentifier", getDocumentIdentifier())
            .append("entityName", getEntityName())
            .append("entityIdentifier", getEntityIdentifier())
            .append("fieldName", getFieldName())
            .append("fieldIdentifier", getFieldIdentifier())
            .append("fixedValue", getFixedValue())
            .append("valueConversionRule", getValueConversionRule())
            .append("createdBy", getCreatedBy())
            .append("createdDate", getCreatedDate())
            .append("modifiedBy", getModifiedBy())
            .append("modifiedDate", getModifiedDate())
            .toString();
    }
}
